package com.zhkj.txg.module.home.entity

import com.chad.library.adapter.base.entity.node.BaseNode
import com.zhkj.lib.http.BaseResponse

data class MarketCateResponse(
    val data: MarketCateEntity? = null
) : BaseResponse()

data class MarketCateEntity(
    val banner: MutableList<BannerEntity> = mutableListOf(),
    val category: MutableList<NavigationEntity> = mutableListOf(),
    val list: MutableList<MarketCateListEntity> = mutableListOf()
)


data class MarketCateListEntity(
    val id: Int,
    val name: String = "",
    val goods: MutableList<SellEntity> = mutableListOf()
) : BaseNode() {
    override val childNode: MutableList<BaseNode>?
        get() = goods as MutableList<BaseNode>
}